import Layout from '@/views/layout/layout_monitor.vue'
import MonitorIndex from '@/views/monitor/index.vue'
/*河湖监测Router */
const monitorRouter = {
  path:'/monitor',
  name:'monitor',
  component:Layout,
  meta: {requiresAuth: true},
  redirect:'/monitor/Monitormap',
  children:[
    {path:'/monitor/Monitormap',
    name:'河流示意图',
    component:()=>import('@/views/monitor/Monitormap.vue')
    //component:MonitorIndex,
    },
    {path:'/monitor/stations',
    name:'监测点',
    component:MonitorIndex,
    children:[
      {path:'/monitor/stations/surface',name:'断面',component:()=>import('@/views/monitor/stations/surface.vue')},
      {path:'/monitor/stations/outlet',name:'排污口',component:()=>import('@/views/monitor/stations/outlet.vue')},
      {path:'/monitor/stations/pollution',name:'污染源',component:()=>import('@/views/monitor/stations/pollution.vue')},
      {path:'/monitor/stations/hydrol',name:'水纹信息',component:()=>import('@/views/monitor/stations/hydrol.vue')},
    ],
    },
    {path:'/monitor/warn',
    name:'智能预警',
    component:MonitorIndex,
    children:[
      {path:'/monitor/warn/model',name:'模型预警',component:()=>import('@/views/monitor/warn/model.vue')},
      {path:'/monitor/warn/video',name:'视频AI告警',component:()=>import('@/views/monitor/warn/video.vue')},
      {path:'/monitor/warn/equip',name:'设备告警',component:()=>import('@/views/monitor/warn/equip.vue')},
    ],
    },
    {path:'/monitor/equ',
    name:'设备监测',
    component:()=>import('@/views/monitor/equip_monit.vue')
    },
    {path:'/monitor/uav',
    name:'无人机监测',
    component:()=>import('@/views/monitor/uav.vue')
    },
    {path:'/monitor/dimen',
    name:'三维建模分析',
    component:()=>import('@/views/monitor/three_dimen.vue')
    },
  ],
}
export default monitorRouter